package com.example.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
* 岗位需求计划表
* </p>
*
* @author wsl
* @since 2022-04-10
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("job_demand")
@ApiModel(value = "JobDemand对象", description = "岗位需求计划表")
public class JobDemand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键编号")
    private String id;

    @ApiModelProperty("流程编号")
    private String processId;

    @ApiModelProperty("计划制定员工编号")
    private Integer empId;

    @ApiModelProperty("岗位编号")
    private Integer positionId;

    @ApiModelProperty("岗位名称")
    private String positionName;

    @ApiModelProperty("需要人数")
    private Integer num;

    @ApiModelProperty("工作性质")
    private String nature;

    @ApiModelProperty("岗位职责")
    private String responsibility;

    @ApiModelProperty("教育经历")
    private String education;

    @ApiModelProperty("工作经验")
    private String workExperience;

    @ApiModelProperty("年龄上限")
    private Integer ageMax;

    @ApiModelProperty("年龄下限")
    private Integer ageMin;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty("增补理由")
    private String cause;

    @ApiModelProperty("其他要求")
    private String untitled;

    @ApiModelProperty("冗余字段 - 发布部门")
    private String pubDept;

    @ApiModelProperty("当前状态")
    private Integer status;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private Integer updateTime;


}
